// @ts-ignore
import styled from "styled-components";
// @ts-ignore
import wave from "../../assets/image/wave.gif";
type propsType={};
const MusicPlayerStyle=styled.div<propsType>`
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width: 100vw;
  height: 100vh;
 
  overflow: hidden;
  //背景图片,不可使用主体,因为我们需要加一个高斯模糊
  .music-box-bg{
    top: 0;
    left: 0;
    position: absolute;
    background-image: url('https://bucket-yufei.oss-cn-beijing.aliyuncs.com/sixth-qianfeng/front/bg3.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(50px);
    width: 100%;
    height: 100%;
    z-index: -2;
    transition: all 500ms;
  }
  .music-box-mask{
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0,0,0,.6);
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .music-user-box{
    width: 100%;
    height: 30px;
  }
  
  .music-content-box{
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
    max-height: 600px;
    width: 100%;
    overflow: hidden;
  }
  .music-content-left{
    width: 1200px;
  }
  .music-player-btn-box{
    display: flex;
  }
  .music-player-btn{
    font-size: 17px;
    padding: 7px 20px 35px;
    background: transparent;
    margin: 0 3px
  }
  .music-table{
    margin: 10px 0 0;
    min-height: 600px;
  }
  //音乐gif图片的样式
  .playing-gif-image{
    display: inline-block;
    background-image: url(${wave});
    width: 10px;
    height: 10px;
    background-size: 100% 100%;
    margin-right: 30px;
    //background-color: #FFFFFF;
  }
  //这里的背景色我们重写antd的方法名
  .ant-table{
    background: transparent;
    color: #FFFFFF;
  }
  .ant-btn{
    background: transparent;
    color: #FFFFFF;
  }
  .ant-pagination-item{
    background: transparent;
  }
  .ant-table-cell-row-hover{
    background: transparent!important;
  }
  .music-content-right{
    margin: 0 20px;
    width: 300px;
    min-width: 300px;
    height: 100%;
    
  }
  .music-cover-image{
    position: relative;
    margin: 0 auto 15px;
    z-index: 0;
    width: 200px;
    height: 200px;
    background-image: url("https://y.qq.com/music/photo_new/T002R300x300M000002eVElz3eLwSx_1.jpg?max_age=2592000");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    transition: all 500ms;
  }
  .music-cover-image::after{
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: url(${require("../../assets/image/qqmusic_mask.png")});
    background-size: 100% 100%;
  }
  .music-content-right div{
    color: #FFFFFF;
    text-align: center;
    line-height: 30px;
    font-size: 18px;
  }
  .music-content-right span:hover{
    cursor: pointer;
    color: var(--theme-color);
  }
  //歌词部分
  .music-lrc-box{
    position: relative;
    margin: 20px auto;
    height: 100%;
    //background: #eee;
    -webkit-mask-image: linear-gradient(
            180deg,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,.8) 15%,#fff 25%,#fff 75%,hsla(0,0%,100%,.6) 85%,hsla(0,0%,100%,0));
    overflow: auto;
  }
  .music-lrc-box::-webkit-scrollbar {
    display: none;
  }
  .music-lrc-ul{
    position: absolute;
    width: 100%;
    //left: 50%;
    //transform: translateX(-50%);
    padding-bottom: 100%;
  }
  //每一句item ,li
  .music-lrc-li{
    width: 100%;
    color: #FFFFFF;
    line-height: 30px;
  }
  .current-music-lrc-li{
    width: 100%;
    line-height: 30px;
    font-size: 23px;
    color: var(--theme-color);
  }
  //音乐控制台
  .music-console-box{
    position: relative;
    width: 100%;
    height: 150px;
  }
  .music-console-content{
    display: flex;
    margin: 0 auto;
    width: fit-content;
    position: relative;
    top: 50%;
  }
  .music-console-content span{
    font-size: 40px;
    color: #AAAAAA;
    cursor: pointer;
    margin: 0 10px;
  }
  .music-console-content span:hover{
    color: #FFFFFF;
  }
  //控制台整体盒子
  .console-message-box{
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    color: #AAAAAA;
  }
  //控制台顶部,即音乐名称+音乐时长
  .console-message-top-box{
    display: flex;
    justify-content: space-between;
  }
  .console-message-top-box span{
    font-size: 18px;
    margin: 5px;
  }
  .console-message-bottom-box{
    position: relative;
    margin: 10px 0;
    left: 0;
    width: 800px;
    height: 5px;
    background: #EEEEEE!important;
    cursor: pointer;
  }
  .music-schedule-unline{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #EEEEEE;
    cursor: pointer;
    
  }
  .music-schedule-btn{
    position: absolute;
    width: 15px;
    height: 15px;
    top: 0;
    transform: translateY(-30%);
    left: 40px;
    border-radius: 50%;
    background: var(--theme-color);
    
  }
  .music-schedule-line{
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 40px;
    background: var(--theme-color);
    cursor: pointer;
    z-index: 0;
  }
  
  //音乐标签的样式
  .audio-tag{
    position: absolute;
    z-index: 10;
  }
`;
export default MusicPlayerStyle;
